const { src, dest } = require('gulp');
const { globs, since } = require('../common');

 /**
  * npm 依赖打包
  * 安装： npm install --save-dev gulp-mp-npm
  */
const mpNpm = require('gulp-mp-npm');

const other = cb => {
    return src(globs.other, { since: since(other) })
    .pipe(mpNpm())
    .pipe(dest('dist/'))
};

module.exports = other;